export function getRole(key) {
    let hashMapRole = new Object();
    hashMapRole[1] = "价格审批员";
    hashMapRole[2] = "风险审批员";
    hashMapRole[3] = "领导";
    hashMapRole[4] = "管理员";
    return hashMapRole[key];
}

export function getToken(key) {
    return sessionStorage.getItem(key);
}

export function setToken(key, value) {
    sessionStorage.setItem(key, value);
}